﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
using UserDefinedForms.Entities;

namespace UDFDesign.GUIComponent.CustomControl
{
    class DesignableCheckBox:DesignableControl
    {

        public DesignableCheckBox()
        {
        }
        public DesignableCheckBox(FormControl entity)
            : base(entity)
        {
        }

        protected override void initControl()
        {
            this.selfControl = new CheckBox();
            selfControl.Enabled = false;
            selfControl.Size = new Size(15, 14);

            this.Controls.Add(selfControl);
            this.Size = selfControl.Size;
        }

        public override ControlTypes ControlType
        {
            get
            {
                return ControlTypes.CheckBox;
            }
        }

    }
}
